package com.qf.air.service;

import com.github.pagehelper.PageInfo;
import com.qf.air.entity.Air;
import com.qf.air.vo.ResultVO;

import java.io.IOException;
import java.util.Date;

/**
 * @Author: 维多利加
 * @Date: 2021/3/20 10:52
 */

public interface AirService {

    ResultVO findByPageAndDistrictId(Integer page, Integer rows, Integer districtId, String monitoringStation, String startTime, String endTime) throws IOException;

    void save(Air air) throws IOException;

    void deleteById(Integer id);

    void updateById(Air air);

    /**
     * 北京各个区的空气质量检测条数
     * @return
     */
    ResultVO findDistrictAirQualityCount() throws IOException;
}
